package hcn.protocol.ods.newdiagnosis;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 支付确认返回参数
 *
 * @Create: 2019-04-22 20:03
 **/
@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
@ToString
public class NewNotifyPayedResponseBean implements Serializable {
    private static final long serialVersionUID = -4273380170921093779L;
    /**
     * agtOrderNumber : 交易流水号
     * resultId : 结算标识
     * invoiceNumber : 发票号
     * paymentBudgetNumber : 预结算标识
     * feeRecords : [{"feeNo":"收费单据标识","feeTypeCode":"收费单据类型","barCode":"条码","totalFee":"总金额"}]
     */

        private String agtOrderNumber;
        private String resultId;
        private String invoiceNumber;
        private String paymentBudgetNumber;
        private List<FeeRecordsBean> feeRecords;

        @NoArgsConstructor
        @Data
        @AllArgsConstructor
        @Builder
        @ToString
        public static class FeeRecordsBean {
            /**
             * feeNo : 收费单据标识
             * feeTypeCode : 收费单据类型
             * barCode : 条码
             * totalFee : 总金额
             */

            private String feeNo;
            private String feeTypeCode;
            private String feeTypeName;
            private String barCode;
            private String totalFee;
        }
}
